/**
 * 数组类型
 */

//定义了数组类型  array1  存放的是  字符串的数组   
let  array1:Array<string> ;
array1 = ["100","200"]

//存储的是  数字类型的 数组
let  array2:number[] ;
array2 = [100,200]



/***
 *  TUPLE
 * 
 * (姓名,年龄)
 */


let user: [string,number]
user = ['张三',18]
//错误
// user = ['李四',28,"山东"]

